import type { RouteRecordRaw } from 'vue-router'

export default <RouteRecordRaw[]>[{
  path: '/',
  redirect: '/login'
}, {
  path: '/login',
  component: () => import('../pages/Login.vue')
}, {
  path: '/home',
  component: () => import('../pages/Home.vue'),
  children: [{
    path: '',
    component: () => import('../pages/Welcome.vue')
  }, {
    path: '/users',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/roles',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/rights',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/goods',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/params',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/categories',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/orders',
    component: () => import('../pages/user/Users.vue')
  }, {
    path: '/reports',
    component: () => import('../pages/user/Users.vue')
  }]
}]